package Conf

var (
	LOSING_LOTTERY = &AwardResult{Name: "抱歉未中奖,多多加油", SerialNumber: ""}
)

type LUCKY_DRAW_RULE_TYPE int

const (
	//抽奖概率库存
	LUCKY_DRAW_RULE_TYPE_PROBABILITY_STORE LUCKY_DRAW_RULE_TYPE = 1
)

const (
	//这里是类型int
	LUCKY_DRAW_RULE_INT_PROBABILITY_STORE = int(LUCKY_DRAW_RULE_TYPE_PROBABILITY_STORE)
)

/**
校验抽奖类型int
*/
func LuckyDrawRuleTypeCheckInt(typeInt int) bool {
	if typeInt == LUCKY_DRAW_RULE_INT_PROBABILITY_STORE {
		return true
	}
	return false
}

func LuckyDrawRuleTypeCheck(typeRule LUCKY_DRAW_RULE_TYPE) bool {
	if typeRule == LUCKY_DRAW_RULE_TYPE_PROBABILITY_STORE {
		return true
	}
	return false
}
